﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ThinhTien.Models.Order
{
    public class OrderViewModel
    {
        [Required(ErrorMessage = "Name is required")]
        [Display(Name = "Name:")]
        [StringLength(int.MaxValue, MinimumLength = 1)]
        public string Name { get; set; }

        [Required(ErrorMessage = "Description is required")]
        [Display(Name = "Description:")]
        [StringLength(int.MaxValue, MinimumLength = 1)]
        public string Description { get; set; }

    }
}
